package com.ucs.domain;

public class User {
	private String	userID="";
	private String	username="";
	private String	pwd="";
	private int		role=0;
	
	public void setUserID(String userid) {
		this.userID = userid;
	}
	public String getUserID() {
		return userID;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUsername() {
		return username;
	}
	public void setPwd(String password) {
		this.pwd = password;
	}
	public String getPwd() {
		return pwd;
	}
	public void setRole(int role) {
		this.role = role;
	}
	public int getRole() {
		return role;
	}
	
	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append(userID); sb.append(",");
		sb.append(username); sb.append(",");
		sb.append(pwd); sb.append(",");
		sb.append(role); sb.append(",");
		// TODO Auto-generated method stub
		return sb.toString();
	}
}
